<?php

namespace App\model;

use Illuminate\Database\Eloquent\Model;

class Wages extends Model
{
    protected $table = 'wages';
    protected $primaryKey='wag_id';
    public $timestamps = false;
    /***+
     *
     *工资体系
     *作者：
     */
    public function lists(){
        return $this
                ->join('role','role.r_id','=','wages.r_id')
                ->get();
    }
}
